package com.hoshiicloud.as2c.minipro.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yangcheng
 * @version 1.0
 * @title: CodeLoginParam
 * @description: 手机验证码登录参数实体
 * @date 2019/6/1 15:12
 * @mail maiboyc@163.com
 */
@ApiModel
@Data
public class CodeLoginParam {

    // 租户ID
    @NotNull
    @ApiModelProperty(name = "companyId", value = "租户ID", required = true, dataType = "Long", example = "3234906557745463461")
    private Long companyId;

    // 平台ID
    @NotNull
    @ApiModelProperty(name = "platformId", value = "平台ID", required = true, dataType = "Long", example = "3234906557745463478")
    private Long platformId;

    // 验证码短信ID
    @NotNull
    @ApiModelProperty(name = "msgId", value = "短信ID", required = true, dataType = "String", example = "3234906557745463123")
    private String msgId;

    // 手机号码
    @NotNull
    @ApiModelProperty(name = "mobile", value = "手机号码", required = true, dataType = "String", example = "18620195709")
    private String mobile;

    // 验证码
    @NotNull
    @ApiModelProperty(name = "code", value = "验证码", required = true, dataType = "String", example = "895632")
    private String code;

    // 邀请码
    @ApiModelProperty(name = "invitationCode", value = "邀请码", required = true, dataType = "String", example = "8964641")
    private String invitationCode;

}
